import axiosq from '@/api/axios'
const SERVICE_URL = '/user'

export const findUserData = params => {
  return axiosq.request({
    url: SERVICE_URL+'/list',
    params: params, 
    method: 'get'
  })
}

export const saveUser = params => {
  return axiosq.request({
    url: SERVICE_URL+'/saveUser',
    data: params, 
    method: 'post'
  })
}

export const deleteUser = params => {
  return axiosq.request({
    url: SERVICE_URL+'/deleteUser',
    params: params, 
    method: 'get'
  })
}
